<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo06表格标签</title>
</head>
<body>
<table border="1px" style="border-collapse: collapse">
    <caption>剑来人物展示</caption>
    <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>称号</th>
    </tr>
    <tr>
        <td>陈平安</td>
        <td>18</td>
        <td>剑仙</td>
    </tr>
    <tr>
        <td>宁姚</td>
        <td>18</td>
        <td>女剑仙</td>
    </tr>
</table>
<hr>

<table border="2px" style="border-collapse: collapse">
    <caption>落魄山人员</caption>
    <tr>
        <th>姓名</th>
        <th>年龄</th>
        <th>来自</th>
    </tr>
    <tr>
        <td>赔钱</td>
        <td>9</td>
        <td>老龙城</td>
    </tr>
</table>

<hr>

<table border="1px" style="border-collapse: collapse">
    <tr>
        <td>1-1</td>
        <td>1-2</td>
        <td>1-3</td>
        <td rowspan="3">1-4</td>
    </tr>
    <tr>
        <td colspan="2">2-1</td>
        <td>2-3</td>

    </tr>
    <tr>
        <td>3-1</td>
        <td>3-2</td>
        <td>3-3</td>

    </tr>
    <tr>
        <td>4-1</td>
        <td>4-2</td>
        <td>4-3</td>
        <td>4-4</td>
    </tr>
</table>

<hr>

<table border="1px" style="border-collapse: collapse">
    <caption>购物车</caption>
    <tr>
        <th><b>商品编号</b></th>
        <th><b>商品名称</b></th>
        <th><b>商品价格</b></th>
    </tr>
    <tr>
        <td>1</td>
        <td>小米Air</td>
        <td>5877</td>
    </tr>
    <tr>
        <td>2</td>
        <td>华为遥遥领先</td>
        <td>8877</td>
    </tr>
    <tr>
        <td>总价</td>
        <td colspan="2">10000</td>
    </tr>
</table>


</body>
</html>